home *** CD-ROM | disk | FTP | other *** search
- Path: news.dfn.de!si-nic!usenet
- From: Markus Becker <becker@zess.uni-siegen.de>
- Newsgroups: comp.lang.c++
- Subject: Re: LPCREATESTRUCT
- Date: Thu, 08 Feb 1996 15:08:36 +0100
- Organization: ZESS, Uni-GH-Siegen
- Message-ID: <311A03E4.53C6@zess.uni-siegen.de>
- References: <4f8qum$cck@guitar.sound.net>
- NNTP-Posting-Host: becker.zess.uni-siegen.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- chris wrote:
- >
- > I am unable to determine what lpcreatestruct in doing in the following
- > line of code. It is in a windows procedure, within the code that is
- > executed during the processing of the wm_create message.
- >
- > hInstance = ((LPCRETESTRUCT) lParam) -> hInstance; LPCREATESTRUCT
-
- is a long pointer to a CREATESTRUCT, wich describes the
- window being created.
-
- The (LPCREATESTRUCT) in your code above casts the lParam
- to a LPCREATESTRUCT, so that the contents of this pointer
- (struct CREATESTRUCT) are acessible.
-
- > Also, do you know where I might find this in the online documentation
- > for the Borland Compiler (version 4.2).
-
- You should start to search in the help for Windows message processing.
- --
- Markus Becker
- http://www.zess.uni-siegen.de/private/becker/
- Zentrum fuer Sensorsysteme (ZESS)
- http://www.zess.uni-siegen.de/private/becker/win95
-